package com.zch.rpc.core.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.*;

/**
 * @Auther: zch
 * @Date: 2018/12/24 16:02
 * @Description: dubbo 服务路径注解（http 协议使用）
 */
@Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER, TYPE_USE })
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface RpcPath {
    String value() default "";
}
